home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 7 / BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso / Files / Prog / M / MacOberon241.cpt / MacOberon 2.4(1) / MacOberon.Starter.Text (.txt) < prev    next >
Oberon Text  |  1992-02-07  |  9KB  |  82 lines

  1. Syntax10.Scn.Fnt
  2. ParcElems
  3. Alloc
  4. Syntax10i.Scn.Fnt
  5. Syntax20m.Scn.Fnt
  6. Syntax14m.Scn.Fnt
  7. Syntax12i.Scn.Fnt
  8. Syntax12.Scn.Fnt
  9. If your monitor is too small for viewing this document in its entirety, repeatedly execute the command System.Grow in the menu bar until the window is grown to an adequate size. Closing the window by executing System.Close will cause the covered windows to reappear.
  10. You may print this document by executing the command Write.Print PostScript MacOberon.Starter.Text .  This will open a viewer containing a PostScript representation of your document.  You can save the PostScript program to a file by executing the command Ed.StoreTEXT appearing in the header of its window, and subsequently download it to any compatible printer using the the Laser Writer Font Utility supplied with Apple's System 7.
  11. Getting Started with MacOberon  - Command Quick Reference
  12. Basic Commands
  13. Point = ML = Mouse Button
  14. Set the Caret by pointing to the desired character position with the mouse and pressing the Point button.
  15. Execute = MM = Control Key
  16. Execute a command M.P by pointing to its name with the mouse and clicking the Execute button.
  17. Select = MR = Option Key
  18. Select any contiguous stretch of text by moving the mouse from the first character to the last character of the desired selection while holding down the Select button (this is called "dragging" the mouse).
  19. Cancel
  20. Cancel a mouse command that is just being initiated by pressing all three mouse buttons simultaneously.
  21. Mark = Enter key on keypad
  22. Set the Star Marker by moving the mouse to the desired location and pressing the Mark key.
  23. Neutralize = ESC key
  24. Remove all marks and selections on the screen by pressing the Neutralize key.
  25. Scrolling (in scrolling zone to the left of the text)
  26. Forward = ML = Mouse Button
  27. The line to which the mouse points will be moved to the top of the viewer.
  28. Absolute = MM = Control Key
  29. Scroll to a part of the document that corresponds to the relative position of the mouse in the scroll bar.
  30. Top = MR = Option Key
  31. Scroll to the top of the document.
  32. Viewer Layout
  33. Moving = ML = Mouse Button
  34. Extend or reduce a viewer by clicking the Point button in its title bar and dragging it to a new location.
  35. Repositioning = ML'MM = Mouse Button with Control Key interclick
  36. Move a viewer to any new location by interclicking the Execute button during the Move operation.
  37. Advanced Commands
  38. Select and Copy to Caret = MR'MM = Interclick Execute Button during Selection
  39. The selected text is copied to the Caret position.
  40. Set Caret and Copy from Selection = ML'MM = Interclick Execute Button during Caret Positioning with Point Button
  41. The most recent selection is copied to the new Caret position.
  42. Select and Delete = MR'ML = Interclick Point Button during Selection
  43. The selected text is deleted.
  44. Copy Format at Caret to Selection = ML'MR = Interclick Selection Button during Caret Positioning with Point Button
  45. The formatting at the Caret position is applied to the selection.
  46. Select to Beginning of Line = MR, MR
  47. Click twice at the last character of the desired text selection.
  48. You may keep dragging from the second click in order to select multiple lines.
  49. Unload Module prior to Command Execution = MM'ML = Interclick Point Button during Execute
  50. The command's module will be re-loaded from disk before the command is executed.
  51. Parameter Conventions
  52. Many commands operate on texts.  Examples of such commands are Edit.Open and Compiler.Compile.  By convention, these commands accept several different methods of parameter specification, the most common of which is simply a list of file names terminated by a tilde "~" character.  Alternatively, an arrow "^" as a parameter indicates that the file name should be taken from the most recent selection and an asterisk "*" tells the command that the contents of the marked viewer (the viewer containing the Star Marker) should be processed.
  53. Editing
  54. Edit.Open <filename>
  55. Open a new viewer and display the contents of a file.  If the file does not exist, an empty viewer will be opened.  You may also use the enhanced editor Ed (Ed.Open <filename>) or the document editor Write for editing texts (Write.Open <filename>).
  56. Edit.Store
  57. When activated from a menu, stores the contents of the viewer under the filename listed in the menu.
  58. A file may be saved under a different name simply by editing the menu and executing Edit.Store.
  59. Edit.Locate
  60. Locate the position of an error in a source text.  Mark the viewer displaying the source, then select the error message in the Log Viewer, then execute Edit.Locate.  The source viewer will scroll to the location of the error and the Caret will be placed just behind it.
  61. When using the Write document editor, use the command Write.Locate instead.  Write also offers Error Elements that automatically appear in the source program, displaying error messages in place.
  62. Write.Open Elem.Guide.Text for details.
  63. Making a Large Selection that will not Fit into a Single Viewer
  64. Use System.Copy to open an adjacent second viewer.  Then select the beginning of the text in the upper viewer and its end in the lower viewer separately.
  65. Interrupting a Command
  66. The user may terminate a running command by simultaneously pressing the keys labelled Command, Shift and "." (Period).  If you cannot find a "command" key on your keyboard, search for an "open apple" or a "clover" symbol; this is the same key that you use for executing menu equivalents.  When a command is terminated in this manner, a trap viewer opens, displaying the contents of the stack.  The contents of global variables are not lost and the user may resume his work normally.
  67. Special Keys
  68. The Macintosh has a different keyboard than other machines on which Oberon is used, and a one_button mouse. However, Oberon expects a three_button mouse and some commands require the use of keys that are not present on the Macintosh, so that it was necessary remap mouse buttons and special keys onto different keys on the Macintosh keyboard.  The documentation, however, will refer to mouse buttons and keys by their original names, so please keep in mind the following substitutions:
  69. Name Mentioned in Documentation    What to press on the Macintosh
  70. Middle Mouse Button (MM)    Control
  71. Right Mouse Button (MR)    Option
  72. SETUP    Enter (on keypad)
  73. Linefeed    Num Lock (on keypad)
  74. BREAK    Page Down (extended keyboard)
  75. Shift-BREAK    Page Up (extended keyboard)
  76. Delete    Delete left
  77. Backspace    Delete right (extended keyboard)
  78. No Scroll    Home (extended keyboard)
  79. Shift-No Scroll    End (extended keyboard)
  80. If you use MacOberon a lot, you might want to get a three_button mouse, of which there are now several models available for the Macintosh.  Just configure it so that the left button generates a mouse click, the middle button emulates the "control" key on the keyboard and the right button the "option" button, and you will have a true Oberon mouse.
  81. File: MacOberon.Starter.Text / Michael Franz, 7.2.92
  82.